// api/user.js
import { post } from '@/utils/request.js'
export default {
  login: (data) =>post('/usercenter/v1/user/login', data),
  register: (data) => post('/usercenter/v1/user/register', data),
  getUserInfo: () => post('/usercenter/v1/user/detail'),
  updateUserInfo: (data) => post('/usercenter/v1/user/edit',data),
}